//2006-12-17 2:21 Simple JavaScript For Minute Code 
function E(obj)
{
	document.all("T" + obj.N).focus();
	switch(obj.Ex)
	{
		case "P":
			obj.Ex="M";
			obj.src="im/m.gif";
			document.all("N" + obj.N).style.display="";
			break;
		case "Fp":
			obj.Ex="Fm";
			obj.src="im/fm.gif";
			document.all("N" + obj.N).style.display="";
			break;
		case "Lp":
			obj.Ex="Lm";
			obj.src="im/lm.gif";
			document.all("N" + obj.N).style.display="";
			break;
		case "Rp":
			obj.Ex="Rm";
			obj.src="im/rm.gif";
			document.all("N" + obj.N).style.display="";
			break;
		case "Tp":
			obj.Ex="Tm";
			obj.src="im/tm.gif";
			document.all("N" + obj.N).style.display="";
			break;
		case "M":
			obj.Ex="P";
			obj.src="im/p.gif";
			document.all("N" + obj.N).style.display="none";
			break;
		case "Fm":
			obj.Ex="Fp";
			obj.src="im/fp.gif";
			document.all("N" + obj.N).style.display="none";
			break;
		case "Lm":
			obj.Ex="Lp";
			obj.src="im/lp.gif";
			document.all("N" + obj.N).style.display="none";
			break;
		case "Rm":
			obj.Ex="Rp";
			obj.src="im/rp.gif";
			document.all("N" + obj.N).style.display="none";
			break;
		case "Tm":
			obj.Ex="Tp";
			obj.src="im/tp.gif";
			document.all("N" + obj.N).style.display="none";
			break;
		default:
			break;
	}
}

var oldSelectNode=null;
var oldSelNodeTxt="";
var oldSelectID="";
	
//Check Image For Folder Open or Close
function C(obj,strNodeID)
{
	var tmpSrc;
	if(oldSelectNode!=null)
	{
		tmpSrc=oldSelectNode.src;
		oldSelectNode.src=oldSelectNode.S;
		oldSelectNode.S=tmpSrc;
		
		document.all("sT" + oldSelectID).style.color="";
		document.all("sT" + oldSelectID).style.fontWeight="";
	}
	document.all("sT" + strNodeID).style.color="blue";
	document.all("sT" + strNodeID).style.fontWeight="bold";
	
	tmpSrc=obj.src;
	obj.src=obj.S;
	obj.S=tmpSrc;
	document.all("T" + strNodeID).focus();

	oldSelectNode=obj;
	oldSelectID=strNodeID;
}